package com.dong.payment.service;

import com.dong.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 支付接口
 * </p>
 *
 * @author: DJ
 * @Date: 15:25 2021/12/25
 */
public interface PaymentService {

    /**
     * 添加
     *
     * @param payment
     * @return void
     * @author DJ
     * @date 10:23 下午 2021/12/24
     **/
    int insert(Payment payment);

    /**
     * 根据ID查询数据
     *
     * @param id
     * @return com.dong.payment.com.dong.order.entities.Payment
     * @author DJ
     * @date 10:23 下午 2021/12/24
     **/
    Payment getPaymentById(@Param("id") Long id);
}
